﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FastCodeGeneration.Core.Framework
{
    public interface IPage<T>
    {
        /// <summary>
        /// 当前页
        /// </summary>
        int PageIndex { set; get; }

        /// <summary>
        /// 每页多少数据
        /// </summary>
        int PageSize { set; get; }


        /// <summary>
        /// 共多少数据
        /// </summary>
        int TotalCount { set; get; }


        /// <summary>
        /// 数据
        /// </summary>
        List<T> Records { set; get; }
    }
}
